package com.ruoyi.pay.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 收款码管理对象 qrcode
 *
 * @author ruoyi
 * @date 2022-08-31
 */
public class Qrcode extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long qrId;

    /** WX:微信 ZFB:支付宝 */
    @Excel(name = "WX:微信 ZFB:支付宝")
    private String qrType;

    /** 收款码url */
    @Excel(name = "收款码url")
    private String qrUrl;

    /** 收款码内容 */
    @Excel(name = "收款码内容")
    private String qrContent;

    /** 收款码金额（单位：分） */
    @Excel(name = "收款码金额", readConverterExp = "单=位：分")
    private Long qrPrice;

    /** 删除时间 */
    private Date deleteTime;

    public String getQrContent() {
        return qrContent;
    }

    public void setQrContent(String qrContent) {
        this.qrContent = qrContent;
    }

    public void setQrId(Long qrId)
    {
        this.qrId = qrId;
    }

    public Long getQrId()
    {
        return qrId;
    }
    public void setQrType(String qrType)
    {
        this.qrType = qrType;
    }

    public String getQrType()
    {
        return qrType;
    }
    public void setQrUrl(String qrUrl)
    {
        this.qrUrl = qrUrl;
    }

    public String getQrUrl()
    {
        return qrUrl;
    }
    public void setQrPrice(Long qrPrice)
    {
        this.qrPrice = qrPrice;
    }

    public Long getQrPrice()
    {
        return qrPrice;
    }
    public void setDeleteTime(Date deleteTime)
    {
        this.deleteTime = deleteTime;
    }

    public Date getDeleteTime()
    {
        return deleteTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("qrId", getQrId())
            .append("qrType", getQrType())
            .append("qrUrl", getQrUrl())
            .append("qrPrice", getQrPrice())
            .append("createTime", getCreateTime())
            .append("deleteTime", getDeleteTime())
            .toString();
    }
}
